Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add additional logging for database errors #44788

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Apr 11, 2024

Add db.log_exceptions config flag which will log any db exception in the nextcloud log regardless of it being cached in application code.

These logs also include the stack trace of the current database transaction

including the stack trace of the current database transaction

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 marked this pull request as ready for review July 24, 2024 14:40
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, yemkareems and sorbaugh and removed request for a team July 24, 2024 14:41
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 24, 2024
@sorbaugh sorbaugh merged commit 6594181 into master Jul 25, 2024
171 checks passed
@sorbaugh sorbaugh deleted the db-error-logging branch July 25, 2024 07:10
@icewind1991
Copy link
Member Author

/backport to stable29

@icewind1991
Copy link
Member Author

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants